package cn.handy.api.service;

import cn.handy.api.entity.UserEntity;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;

/**
 * @author hanshuai
 * @Description: {}
 * @date 2019/3/22 13:43
 */
public interface IMemberService {

    /**
     * member接口
     *
     * @param name
     * @return
     */
    @GetMapping("/getMember")
    UserEntity getMember(@RequestParam("name") String name);

    /**
     * 测试Hystrix
     * @return
     */
    @GetMapping("/testHystrix")
    String testHystrix();
}
